BEN=[[
      \
       \
          __     _____    
         |  )    |        |\      | 
         |   )   |        | \     |
         |--)    |        |  \    |
         |   )   |----    |   \   |
         |    )  |        |    \  |
         |   )   |        |     \ |
         |__)    |____    |      \| 
]]


y={}

if(arg[1]~=nil) then
	w=arg[1]
else
	w='You are stupid.You forget to write what you want to say. HaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHa. emmmmmm~~. BenDan'
end


i=0
r=string.len(w)
while(true) do
	i=1+i
	if(r>30) then
		y[i]=string.sub(w,30*(i-1)+1,30*i)
	else
		y[i]=string.sub(w,30*(i-1)+1,r+30*(i-1))
	end
	r=r-30
	if(r<=0) then
		break
	end
end

io.write('  ')
r=string.len(w)
if(#y>1) then
	for j=1,30 do
		io.write('-')
	end
else 
	for j=1,r do
 		io.write('-')
	end
end
print()

for j=1,#y do
	if(#y==1) then
		print(string.format('< %-' .. r .. 's >',y[j]))
	else
		if(j==1) then
			print(string.format('/ %-30s \\',y[j]))
		elseif(j==#y) then
			print(string.format('\\ %-30s /',y[j]))
		else
			print(string.format('| %-30s |',y[j]))
		end
	end
end 

io.write('  ')
if(#y>1) then
	for j=1,30 do
		io.write('-')
	end
else 
	for j=1,r do
 		io.write('-')
	end
end
print()

print(BEN)
